package Exception.B;

public class Test01 {

	public static void main(String[] args) throws Exception {
		Student s1 = new Student();
		s1.setPscore(90);
		s1.setMscore(85);
		try {
			System.out.println(s1.getScore());
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		Student s2 = new Student();
		s2.setPscore(50);
		s2.setMscore(35);
		try {
			System.out.println(s2.getScore());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
